{extend name="base" /}
{block name="main"}
<div class="col-md-10">
  <!-- 面包屑导航栏 -->
  <ol class="breadcrumb" style="margin-top: 20px;">
    <li class="breadcrumb-item"><a href="index.html">首页</a></li>
    <li class="breadcrumb-item active">公司管理</li>
    
  </ol>
  <!-- 面包屑导航栏 end -->
  <div class="card">
    <div class="card-body">

      <p class="text-right">
        <a href="addgs.html">
          <button type="button" class="btn btn-success">添加公司</button>
        </a>
        </p>
      <table class="table">
        <thead>
          <tr>
            <th>公司名字</th>
            <th>公司地址</th>
            <th>创建时间</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          {volist name="res" id="vo"}
          <tr>
            <td>{$vo.company_name}</td>
            <td>{$vo.company_site}</td>
            <td>{$vo.company_time}</td>
            <td>
              <div class="dropdown">
                <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
                  操作
                </button>
                <div class="dropdown-menu">
                  <a class="dropdown-item" href="{:url('company/gsdetails',['company_id'=>$vo.company_id])}">详情</a>
                  <a class="dropdown-item" href="addzhanghao.html">添加账号</a>
                  <a class="dropdown-item" href="#">冻结</a>
                </div>
              </div>
            </td>
          </tr>
          {/volist}
        </tbody>
      </table>
    </div>
  </div>
</div>
{/block}